package com.quasar.hpatient.onInterface;

import com.quasar.hpatient.model.httpmodel.AnotherResult;
import com.quasar.hpatient.model.httpmodel.DataStateResult;
import com.quasar.hpatient.model.medicalmodel.DailyRecordDetailsData;

/**
 * author : 许建宏
 * Date: 2017/11/20 0020
 * View: 查询日常记录
 */

public interface OndailyRecordListener {
    //更改回调
    void onDailyRecordDetailsSuccess(AnotherResult<DailyRecordDetailsData> data);
    //失败回调
    void onError(String msg);
    //界面更新
    void onRefreshUI();
    //提交日常检查项目信息
    void onSubmitSuccess(DataStateResult dataStateResult);
    //修改日常单项值
    void onUpdateValueSuccess(DataStateResult dataStateResult);
    //删除日常检查项
    void onDeleteValueSuccess(DataStateResult dataStateResult);
}
